Jaime Velasco Juan [Mon, 17 Oct 2016 13:33:47 +0000 (14:33 +0100)]
win32 theme: Fix tooltip borders
https://bugzilla.gnome.org/show_bug.cgi?id=773221
Jaime Velasco Juan [Fri, 14 Oct 2016 13:13:09 +0000 (14:13 +0100)]
win32 theme: Fix combobox
https://bugzilla.gnome.org/show_bug.cgi?id=773221
Jaime Velasco Juan [Fri, 14 Oct 2016 11:16:57 +0000 (12:16 +0100)]
win32 theme: Fix column headers
https://bugzilla.gnome.org/show_bug.cgi?id=773221
Jaime Velasco Juan [Fri, 14 Oct 2016 09:49:55 +0000 (10:49 +0100)]
win32 theme: Fix popup window decorations
Windows such as combobox's popup were using toplevel window's borders
https://bugzilla.gnome.org/show_bug.cgi?id=773221
Jaime Velasco Juan [Fri, 14 Oct 2016 08:47:11 +0000 (09:47 +0100)]
gtkwin32theme: delete #if 0 code
https://bugzilla.gnome.org/show_bug.cgi?id=773221
Jaime Velasco Juan [Thu, 13 Oct 2016 11:50:51 +0000 (12:50 +0100)]
win32 theme: Fix scale widget
It was invisible before.
https://bugzilla.gnome.org/show_bug.cgi?id=773221
Jaime Velasco Juan [Fri, 14 Oct 2016 08:24:13 +0000 (09:24 +0100)]
win32 theme: No need to create a DC for GetThemePartSize
https://bugzilla.gnome.org/show_bug.cgi?id=773221
Jaime Velasco Juan [Fri, 14 Oct 2016 08:18:46 +0000 (09:18 +0100)]
win32 theme: use TS_TRUE in GetThemePartSize
Several styles return a size of 0x0px when using TS_DRAW, as
we don't pass a RECT to draw into.
https://bugzilla.gnome.org/show_bug.cgi?id=773221
Jaime Velasco Juan [Thu, 13 Oct 2016 11:38:05 +0000 (12:38 +0100)]
win32 theme: Fix scrollbars
The fix is only partial, when both scrollbars are visible their ends
overlap.
https://bugzilla.gnome.org/show_bug.cgi?id=773221
Jaime Velasco Juan [Thu, 13 Oct 2016 11:27:43 +0000 (12:27 +0100)]
Fix CSS warnings in win32 theme
https://bugzilla.gnome.org/show_bug.cgi?id=773221
Jaime Velasco Juan [Thu, 13 Oct 2016 11:26:09 +0000 (12:26 +0100)]
Fix tiny fonts in win32 theme
broken since
df08fc91... (css: always get default font size in pixels)
https://bugzilla.gnome.org/show_bug.cgi?id=773221
Sébastien Wilmet [Wed, 26 Oct 2016 13:20:25 +0000 (15:20 +0200)]
docs: fix copy/paste errors in the docs of GtkScrolledWindow
Trivial commit.
Sébastien Wilmet [Wed, 26 Oct 2016 12:11:57 +0000 (14:11 +0200)]
docs: update section file for GtkScrolledWindow
Trivial commit.
- More logical ordering (re-group related things).
- Add missing functions: max_content_width/height.
Chun-wei Fan [Wed, 26 Oct 2016 08:36:03 +0000 (16:36 +0800)]
gdk/win32/gdkevents-win32.c: Avoid gdk_device_manager_get_core_pointer()
This function has been removed, so replace it with gdk_seat_get_pointer().
https://bugzilla.gnome.org/show_bug.cgi?id=773299
Chun-wei Fan [Wed, 26 Oct 2016 10:28:50 +0000 (18:28 +0800)]
demos: Fix 'make install'
We need to change gtk-update-icon-cache to gtk4-update-icon-cache, as that tool
has been renamed.
Chun-wei Fan [Wed, 26 Oct 2016 10:23:38 +0000 (18:23 +0800)]
GSK: Add initial Visual Studio projects
This adds the initial MSVC build items needed to build GSK under Visual Studio,
this is part of it that is required, we need to add items to the property sheets
to generate the code that is generated via glib-mkenums and glib-compile-resources.
This set includes, with the autotools scripts for the complete:
-GSK project files, which is integrated into the gtk+-4.sln.
-The NMake snippets to build the introspection files for GSK.
-The .bat files to call glib-mkenums to generate the enumeration sources.
Matthias Clasen [Wed, 26 Oct 2016 09:13:52 +0000 (05:13 -0400)]
Drop x11-specific code from the GTK+ dnd code
We were using passive grabs to listen for some individual
keys. Nowadays, the managed dnd code in the x11 backend
does the same.
Chun-wei Fan [Wed, 26 Oct 2016 05:42:43 +0000 (13:42 +0800)]
MSVC builds: Support MSVC 2013 and later
We now need C99 features from the compiler which are only supported by
Visual Studio 2013 and later, so drop the MSVC 2008~2012 projects, and make
the baseline supported Visual Studio version be 2013. Update the build files
as a result.
Chun-wei Fan [Wed, 26 Oct 2016 05:22:48 +0000 (13:22 +0800)]
build/Makefile.msvcproj: Add rules for MSVC 2013 to be baseline version
GTK+-3.89.0 and later will require C99 features that is only supported on
Visual Studio 2013 and later, so prepare build/Makefile.msvcproj for this.
We still keep the 2008~2010 stuff here as this strives to be a shared module,
and there are projects using this that still supports building on pre-2013
Visual Studio.
Chun-wei Fan [Wed, 19 Oct 2016 10:46:59 +0000 (18:46 +0800)]
Remove gtk4-install.props's during re-generation
This is to ensure the changes in the generated
build/win32/vs10/gtk4-install.props are applied in
build/win32/vs[11|12|14] as well.
Rico Tzschichholz [Wed, 26 Oct 2016 08:12:58 +0000 (10:12 +0200)]
visual: Remove deprecated API
Rico Tzschichholz [Wed, 26 Oct 2016 08:06:23 +0000 (10:06 +0200)]
Remove deprecated gdk_display_open_default_libgtk_only
Matthias Clasen [Wed, 26 Oct 2016 01:46:14 +0000 (21:46 -0400)]
Fix the docs build after offscreen window removal
Matthias Clasen [Wed, 26 Oct 2016 01:24:37 +0000 (21:24 -0400)]
Revert "Remove gdk_device_grab/ungrab from the API"
This reverts commit
efc37d08556ed8516442a18a67e3035f13cf05a7.
Turns out we need to clean up the dnd code some more, first.
Matthias Clasen [Wed, 26 Oct 2016 01:06:25 +0000 (21:06 -0400)]
Drop the deprecated gdk_device_manager_get_client_pointer
Matthias Clasen [Wed, 26 Oct 2016 00:03:34 +0000 (20:03 -0400)]
Remove gdk_device_grab/ungrab from the API
These are still used in a few places internally,
so make them private.
Matthias Clasen [Tue, 25 Oct 2016 23:51:24 +0000 (19:51 -0400)]
Drop GDK_MULTIDEVICE_SAFE from the docs
All the non-multidevice safe API was deprecated and has been
dropped now.
Matthias Clasen [Tue, 25 Oct 2016 23:45:48 +0000 (19:45 -0400)]
Remove deprecated gdk_window_get_pointer
Matthias Clasen [Tue, 25 Oct 2016 23:31:24 +0000 (19:31 -0400)]
Remove some more deprecated display API
gdk_display_get_pointer, gdk_display_get_window_at_pointer and
gdk_display_warp_pointer have long been deprecated.
Matthias Clasen [Tue, 25 Oct 2016 20:04:01 +0000 (16:04 -0400)]
Remove deprecated gdk_display_list_devices
Matthias Clasen [Tue, 25 Oct 2016 20:02:07 +0000 (16:02 -0400)]
Remove deprecated GDK_DISPLAY_OBJECT macro
Matthias Clasen [Tue, 25 Oct 2016 20:01:50 +0000 (16:01 -0400)]
Remove the last uses of GDK_DISPLAY_OBJECT
This is an obsolete macro.
Matthias Clasen [Tue, 25 Oct 2016 19:56:52 +0000 (15:56 -0400)]
Remove deprecated display ungrab functions
Matthias Clasen [Tue, 25 Oct 2016 19:52:57 +0000 (15:52 -0400)]
Remove deprecated gdk_app_launch_context_set_display
Matthias Clasen [Tue, 25 Oct 2016 19:35:44 +0000 (15:35 -0400)]
Drop deprecated gdk_display_get_screen
Matthias Clasen [Tue, 25 Oct 2016 19:31:55 +0000 (15:31 -0400)]
Remove an unused function
This function is no longer used, now that offscreen windows are gone.
Matthias Clasen [Tue, 25 Oct 2016 19:27:42 +0000 (15:27 -0400)]
Remove deprecated gdk_app_launch_context_new
Matthias Clasen [Tue, 25 Oct 2016 19:21:46 +0000 (15:21 -0400)]
Remove deprecated gdk_display_get_n_screens
Felix Riemann [Tue, 25 Oct 2016 13:43:34 +0000 (15:43 +0200)]
GtkShortcutType: Fix typos in developer documentation
https://bugzilla.gnome.org/show_bug.cgi?id=773479
Alexander Larsson [Tue, 25 Oct 2016 07:54:37 +0000 (09:54 +0200)]
Drop support for offscreen GdkWindows
These complicate a lot of GdkWindow internals to implement features
that not a lot of apps use, and will be better achieved using gsk.
So, we just drop it all.
Rico Tzschichholz [Mon, 24 Oct 2016 10:16:34 +0000 (12:16 +0200)]
gdkwindow: Remove deprecated API
Rico Tzschichholz [Mon, 24 Oct 2016 08:36:55 +0000 (10:36 +0200)]
gdk: Remove deprecated gdk_cairo_set_source_color
Rico Tzschichholz [Mon, 24 Oct 2016 08:31:37 +0000 (10:31 +0200)]
gdk: Remove deprecated gdk_add_option_entries_libgtk_only and gdk_pre_parse_libgtk_only
Rico Tzschichholz [Mon, 24 Oct 2016 08:26:03 +0000 (10:26 +0200)]
gdk: Remove deprecated gdk_threads_set_lock_functions
Rico Tzschichholz [Mon, 24 Oct 2016 08:21:49 +0000 (10:21 +0200)]
gdk: Remove deprecated gdk_get_display
Rico Tzschichholz [Mon, 24 Oct 2016 08:13:14 +0000 (10:13 +0200)]
gdk: Remove deprecated {keyboard,pointer}_{grab,ungrab} API
Rico Tzschichholz [Mon, 24 Oct 2016 07:18:53 +0000 (09:18 +0200)]
cursor: Remove deprecated API
Rico Tzschichholz [Mon, 24 Oct 2016 07:07:32 +0000 (09:07 +0200)]
textiter: Remove deprecated gtk_text_iter_begins_tag
Rico Tzschichholz [Sun, 23 Oct 2016 18:06:33 +0000 (20:06 +0200)]
gtk: Update path references from gtk-3.0 to gtk-4.0
Charles Monzat [Sun, 23 Oct 2016 18:09:50 +0000 (18:09 +0000)]
Update French translation
Rico Tzschichholz [Sun, 23 Oct 2016 16:46:24 +0000 (18:46 +0200)]
gtkplacessidebar: Remove deprecated "show-other-locations" signal
Rico Tzschichholz [Sun, 23 Oct 2016 16:34:49 +0000 (18:34 +0200)]
docs: Follow removal of GtkAction and GtkActivatable
Rico Tzschichholz [Sun, 23 Oct 2016 17:10:06 +0000 (19:10 +0200)]
cellrenderertoggle: Fix compile warnings
Rico Tzschichholz [Sun, 23 Oct 2016 17:09:27 +0000 (19:09 +0200)]
accessible: Fix compile warnings
Rico Tzschichholz [Sun, 23 Oct 2016 17:08:27 +0000 (19:08 +0200)]
treeview: Remove stray property enum-entry
Rico Tzschichholz [Sun, 23 Oct 2016 15:50:02 +0000 (17:50 +0200)]
treeview: Remove deprecated API
Rico Tzschichholz [Sun, 23 Oct 2016 15:39:31 +0000 (17:39 +0200)]
cellrenderertoggle: Remove deprecated indicator-size property
Rico Tzschichholz [Sun, 23 Oct 2016 15:26:37 +0000 (17:26 +0200)]
stylecontext: Remove deprecated API
Rico Tzschichholz [Sun, 23 Oct 2016 15:13:14 +0000 (17:13 +0200)]
gtkplacessidebar: Remove deprecated "show-connect-to-server"
Rico Tzschichholz [Sun, 23 Oct 2016 15:05:25 +0000 (17:05 +0200)]
Remove deprecated gtk_im_multicontext_append_menuitems
Rico Tzschichholz [Sun, 23 Oct 2016 15:02:29 +0000 (17:02 +0200)]
testutils: Remove deprecated API
Rico Tzschichholz [Sun, 23 Oct 2016 14:56:18 +0000 (16:56 +0200)]
Remove deprecated GTK_RELIEF_HALF
Rico Tzschichholz [Sun, 23 Oct 2016 11:12:00 +0000 (13:12 +0200)]
quartz: Remove stock API usage
Rico Tzschichholz [Sun, 23 Oct 2016 11:01:52 +0000 (13:01 +0200)]
Remove stray "stock" references
Rico Tzschichholz [Sun, 23 Oct 2016 10:52:00 +0000 (12:52 +0200)]
Removed deprecated GtkIM*Style enums
Rico Tzschichholz [Sun, 23 Oct 2016 10:42:52 +0000 (12:42 +0200)]
radiotoolbutton: Remove deprecated API
Rico Tzschichholz [Sun, 23 Oct 2016 10:38:31 +0000 (12:38 +0200)]
layout: Remove deprecated API
Rico Tzschichholz [Sun, 23 Oct 2016 08:45:13 +0000 (10:45 +0200)]
iconsource: Remove stray reference
Rico Tzschichholz [Sun, 23 Oct 2016 08:40:04 +0000 (10:40 +0200)]
iconset: Remove stray references
Rico Tzschichholz [Sun, 23 Oct 2016 08:26:56 +0000 (10:26 +0200)]
assistant: Remove deprecated API
Rico Tzschichholz [Sun, 23 Oct 2016 08:12:49 +0000 (10:12 +0200)]
accessible: Drop deprecated connect_widget_destroyed
Timm Bäder [Sat, 22 Oct 2016 19:47:12 +0000 (21:47 +0200)]
colorbutton: Don't notify nonexistent properties
Timm Bäder [Sat, 22 Oct 2016 19:40:04 +0000 (21:40 +0200)]
widget: Add docs for ::measure
Timm Bäder [Sat, 22 Oct 2016 19:02:34 +0000 (21:02 +0200)]
button: Add Since annotations to icon-name setter/getter
Timm Bäder [Sat, 22 Oct 2016 17:40:57 +0000 (19:40 +0200)]
widget: Really remove get_preferred_xxx vfuncs
Timm Bäder [Sat, 22 Oct 2016 17:36:58 +0000 (19:36 +0200)]
expander: Remove spacing property
Timm Bäder [Sat, 22 Oct 2016 17:32:45 +0000 (19:32 +0200)]
toolbar: Remove GtkToolbarSpaceStyle
Timm Bäder [Sat, 22 Oct 2016 17:32:25 +0000 (19:32 +0200)]
cellrendererpixbuf: Remove :follow-state
Timm Bäder [Sat, 22 Oct 2016 17:29:36 +0000 (19:29 +0200)]
remove GTK_DEBUG_PLUGSOCKET
Both GtkPlug and GtkSocket are gone so this doesn't make a lot of sense
anymore.
Timm Bäder [Sat, 22 Oct 2016 15:25:57 +0000 (17:25 +0200)]
icontheme: Remove deprecated API
Timm Bäder [Sat, 22 Oct 2016 15:01:37 +0000 (17:01 +0200)]
toolpalette: Remove deprecated API
Timm Bäder [Sat, 22 Oct 2016 14:06:14 +0000 (16:06 +0200)]
widget: Use ::measure vfunc to measure size
Add a new ::measure vfunc similar to GtkCssGadget's that widget
implementations have to override instead of the old get_preferred_width,
get_preferred_height, get_preferred_width_for_height,
get_preferred_height_for_width and
get_preferred_height_and_baseline_for_width.
Timm Bäder [Sat, 22 Oct 2016 14:56:49 +0000 (16:56 +0200)]
textview: Remove deprecated GtkScrollable API
Timm Bäder [Sat, 22 Oct 2016 14:49:42 +0000 (16:49 +0200)]
css: Stop parsing GdkColor values
Timm Bäder [Sat, 22 Oct 2016 14:41:12 +0000 (16:41 +0200)]
paned: Don't check handle-size style property
Timm Bäder [Sat, 22 Oct 2016 07:13:52 +0000 (09:13 +0200)]
Remove gtk_cell_view_get_size_of_row
Emmanuele Bassi [Sat, 22 Oct 2016 01:37:53 +0000 (02:37 +0100)]
gl: Check whether use_es is positive
Now that the use_es field is an int with a possible negative value, we
cannot use it its truth value directly; we need to check if it's a
positive value, instead.
Emmanuele Bassi [Fri, 21 Oct 2016 20:21:39 +0000 (21:21 +0100)]
gl: Set legacy bit depending on OpenGL version
GDK defaults to asking for an OpenGL 3.2 Core Profile, but if we get a
legacy profile from the underlying windowing system, the OpenGL version
will be fixed to 3.0. If that happens, we need to set the legacy bit on
the GdkGLContext, since that bit will be used to determine the version
and type of GLSL shaders that will be used by application and toolkit
code alike.
Mario Blättermann [Fri, 21 Oct 2016 23:44:55 +0000 (23:44 +0000)]
Update German translation
(cherry picked from commit
ffb1ac56a8ae8b0261b9007115faed6206d4b06b)
Jonas Ådahl [Fri, 14 Oct 2016 08:41:50 +0000 (16:41 +0800)]
GtkMenu: Try using gdk_window_move_to_rect() more often
With best-effort, try to use gdk_window_move_to_rect() more often, when
all pieces fit together. For the non-legacy paths to be triggered for
when gtk_menu_popup_for_device() or gtk_menu_popup() were used, the
following conditions must be met:
1) There is no custom positioning function specified
2) The menu is attached to a widget (using gtk_menu_attach_to_widget())
3) There is a associated grab device
https://bugzilla.gnome.org/show_bug.cgi?id=772922
Pavel Grunt [Mon, 17 Oct 2016 08:32:04 +0000 (10:32 +0200)]
overlay: Document availability of properties
Add missing "Since"
https://bugzilla.gnome.org/show_bug.cgi?id=773082
Robert Roth [Thu, 20 Oct 2016 06:17:45 +0000 (09:17 +0300)]
Fix css documentation typo for color definition
'ligher' should be 'lighter', of course.
https://bugzilla.gnome.org/show_bug.cgi?id=773246
Emmanuele Bassi [Wed, 19 Oct 2016 12:43:17 +0000 (13:43 +0100)]
gdk/gl: Allow autodetection for GL/GLES
If the GdkGLContext was not explicitly instructed to use or not GLES, we
can detect whether the underlying API is going to be desktop GL or GLES.
https://bugzilla.gnome.org/show_bug.cgi?id=773180
Adam Jackson [Tue, 18 Oct 2016 19:26:18 +0000 (15:26 -0400)]
gdk: Don't second-guess whether a context is GLES
We've already set ->use_es correctly at context creation time, all this
can possibly do is change our mind about what kind of GL we're using.
Signed-off-by: Adam Jackson <ajax@redhat.com>
https://bugzilla.gnome.org/show_bug.cgi?id=773180
Victor Toso [Mon, 17 Oct 2016 16:21:06 +0000 (18:21 +0200)]
tests: fix clipboard test by loading correct icon
The icon name changed from "terminal" to "utilities-terminal" in
Adwaita-icon-theme.
Signed-off-by: Victor Toso <victortoso@redhat.com>
https://bugzilla.gnome.org/show_bug.cgi?id=773113
Matthias Clasen [Fri, 21 Oct 2016 15:08:07 +0000 (11:08 -0400)]
docs: Expand icon-palette example
Add a warning color, and show that hex colors work here.
Matthias Clasen [Fri, 21 Oct 2016 13:58:36 +0000 (09:58 -0400)]
Add border-width to the migration guide
No good answers here yet.
Timm Bäder [Fri, 21 Oct 2016 08:12:40 +0000 (10:12 +0200)]
window: Don't leak the GskRenderer
Lapo Calamandrei [Fri, 21 Oct 2016 11:53:02 +0000 (13:53 +0200)]
Fix a typo in the css docs
Chun-wei Fan [Fri, 21 Oct 2016 05:40:49 +0000 (13:40 +0800)]
gdkwindow-win32.c: Make code compatible with GDK 4.0 APIs
Port the code here so that things will continue to build and work on 4.x.
https://bugzilla.gnome.org/show_bug.cgi?id=773299